package com.example.demo.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Liunh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReaderResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "读者姓名", width = 15)
    @ApiModelProperty(name = "readerName", value = "readerName")
    private String readerName;

    @Excel(name = "读者证号", width = 25)
    @ApiModelProperty(name = "accountNo", value = "accountNo")
    private String accountNo;

    @Excel(name = "物理卡号", width = 25)
    @ApiModelProperty(name = "rfid", value = "rfid")
    private String rfid;

    @Excel(name = "身份证", width = 30)
    @ApiModelProperty(name = "identyId", value = "identyId")
    private String identyId;

    @Excel(name = "性别", width = 10)
    @ApiModelProperty(name = "six", value = "six")
    private String six;

    @Excel(name = "生日", width = 20)
    @ApiModelProperty(name = "birthDay", value = "birthDay")
    private String birthDay;

    public ReaderResp(String identyId, String accountNo, String readerName, String six, String birthDay) {
        this.identyId = identyId;
        this.rfid = rfid;
        this.accountNo = accountNo;
        this.readerName = readerName;
        this.six = six;
        this.birthDay = birthDay;
    }

}
